<%@ include file="../common/init.jsp" %>

<div class="account">
	<div class="fleft">
		<div class="login rectangle">
			<form action="/account/login" method="post" onsubmit="javascript: return false;">
				<h3><spring:message code="account.connection.label.login" /></h3>
				<p class="loginError error invisible"><spring:message code="account.connection.para.error" /></p>
				<input type="text" autofocus="autofocus" autocomplete="on" placeholder='<spring:message code="account.connection.label.email" />' name="email" class="input_big" />
				<input type="password" placeholder='<spring:message code="account.connection.label.password" />' name="password" class="input_big" />
				
				<input type="submit" value='<spring:message code="account.connection.button.login" />' class="loginButton btn_medium btn_blue" />
			</form>
		</div>
		
		
		<div class="forgetPassword rectangle">
			<form action="/account/forgetPassword" method="post">
				<h3><spring:message code="account.connection.label.forget.password" /></h3>
				
				<p><spring:message code="account.connection.para.forget.password" /></p>
				<input type="text" placeholder='<spring:message code="account.connection.label.email" />' name="email" class="input_big" />
				
				<input type="submit" value='<spring:message code="account.connection.button.retrieve.password" />' class="btn_medium btn_blue" />
			</form>
		</div>
	</div>
	
	<div class="register rectangle">
		<form action="/account/register" method="post">
			<h3><spring:message code="account.connection.label.create.account" /></h3>
			
			<input type="text" placeholder='<spring:message code="account.connection.label.firstname" />' name="firstname" class="input_big" />
			<input type="text" placeholder='<spring:message code="account.connection.label.lastname" />' name="lastname" class="input_big" />
			<input type="text" placeholder='<spring:message code="account.connection.label.email" />' name="email" class="input_big" />
			<input type="password" placeholder='<spring:message code="account.connection.label.password" />' name="password" class="input_big" />
			<input type="password" placeholder='<spring:message code="account.connection.label.password.confirmation" />' name="confirmPassword" class="input_big" />
			
			<p><spring:message code="account.connection.label.required.fields" /></p>
			
			<input type="submit" value='<spring:message code="account.connection.button.create.account" />' class="btn_medium btn_blue" />
		</form>
	</div>
</div>